using System.Collections.Generic;
using Newtonsoft.Json;
using ParsePtb.attr;

//供应商管理
namespace ess_zbfz_main.entity
{
    [TableNameAttr("OS_ZB_SUPPLIER_INFO")]
    public class OsZbSupplierInfo
    {


        [TableFieldAttr("ID", null, null, true, true, null)]
        private string id;


        [TableFieldAttr("ENT_NAME", null, null, false, false, null)]
        [VerifyAttr(80, "企业名称")]
        private string entName;

        [VerifyAttr(512, "企业简介")]
        [TableFieldAttr("ENT_INTRODUCE", null, null, false, false, null)]
        private string entIntroduce;

        [VerifyAttr(-1, "成立时间")]
        [TableFieldAttr("ENT_REG_TIME", null, null, false, false, null)]
        private string entRegTime;

        [VerifyAttr(-1, "注册资本")]
        [TableFieldAttr("REG_CAPITAL", null, null, false, false, null)]
        private string regCapital;

        [VerifyAttr(-1, "注册地")]
        [TableFieldAttr("REG_PLACE", null, null, false, false, null)]
        private string regPlace;

        [VerifyAttr(-1, "厂房所在地")]
        [TableFieldAttr("FAC_BUILD_PLACE", null, null, false, false, null)]
        private string facBuildPlace;

        [VerifyAttr(-1, "法定代表人")]
        [TableFieldAttr("LEGAL_REP", null, null, false, false, null)]
        private string legalRep;

        [VerifyAttr(-1, "企业类型")]
        [TableFieldAttr("ENT_TYPE", null, null, false, false, null)]
        private string entType;

        [VerifyAttr(-1, "单位类型")]
        [TableFieldAttr("DEPT_TYPE", null, null, false, false, null)]
        private string deptType;

        [VerifyAttr(-1, "企业性质")]
        [TableFieldAttr("ENT_NATURE", null, null, false, false, null)]
        private string entNature;

        [VerifyAttr(-1, "营业执照注册号")]
        [TableFieldAttr("BUSINESS_LIC_REG_NO", null, null, false, false, null)]
        private string businessLicRegNo;

        [VerifyAttr(-1, "营业执照有效期类型")]
        [TableFieldAttr("BUSINESS_LIC_ACTIVE_TYPE", null, null, false, false, null)]
        private string businessLicActiveType;

        [VerifyAttr(-1, "营业执照有效期")]
        [TableFieldAttr("BUSINESS_LIC_ACTIVE_TIME", null, null, false, false, null)]
        private string businessLicActiveTime;

        [VerifyAttr(-1, "营业执照年检日期")]
        [TableFieldAttr("BUSINESS_LIC_CHECK_TIME", null, null, false, false, null)]
        private string businessLicCheckTime;

        //[VerifyAttr(-1, "工商登记号")]
        [TableFieldAttr("INDUS_REG_NO", null, null, false, false, null)]
        private string indusRegNo;

        //[VerifyAttr(-1, "组织机构代码")]
        [TableFieldAttr("ORG_NO", null, null, false, false, null)]
        private string orgNo;

        //[VerifyAttr(-1, "国税税务号")]
        [TableFieldAttr("NATIONAL_TAX_NO", null, null, false, false, null)]
        private string nationalTaxNo;

        [VerifyAttr(-1, "邮政编码")]
        [TableFieldAttr("POST_CODE", null, null, false, false, null)]
        private string postCode;

        [VerifyAttr(-1, "通讯地址")]
        [TableFieldAttr("MAIL_ADDRESS", null, null, false, false, null)]
        private string mailAddress;

        [TableFieldAttr("STATUS", null, null, false, false, null)]
        private string status;

        [VerifyAttr(1024, "经营范围")]
        [TableFieldAttr("BUSINESS_SCOPE", null, null, false, false, null)]
        private string businessScope;

        [VerifyAttr(-1, "注册时间")]
        [TableFieldAttr("REG_TIME", null, null, false, false, null)]
        private string regTime;

        //[VerifyAttr(-1, "")]
        [TableFieldAttr("LOGIN_ACCOUNT", null, null, false, false, null)]
        private string loginAccount;


        [TableFieldAttr("LOGIN_PWD", null, null, false, false, null)]
        private string loginPwd;


        [TableFieldAttr("AUDIT_REASION", null, null, false, false, null)]
        private string auditReasion;


        [TableFieldAttr("AUDIT_TIME", null, null, false, false, null)]
        private string auditTime;


        [TableFieldAttr("AUDIT_USER_ID", null, null, false, false, null)]
        private string auditUserId;


        [TableFieldAttr("REMARK", null, null, false, false, null)]
        private string remark;


        [TableFieldAttr("CREATE_USER", null, null, false, false, null)]
        private string createUser;


        [TableFieldAttr("CREATE_TIME", "datetime('now','localtime')", null, false, false, null, false)]
        private string createTime;


        [TableFieldAttr("UPDATE_USER", null, null, false, false, null)]
        private string updateUser;


        [TableFieldAttr("UPDATE_TIME", "datetime('now','localtime')", null, false, false, null)]
        private string updateTime;


        //[VerifyAttr(-1, "营业执照")]
        [TableFieldAttr("GSYYZZ_ATTACHID", null, null, false, false, null)]
        private string gsyyzzAttachId;


        //[VerifyAttr(-1, "组织机构代码")]
        [TableFieldAttr("ZZJGDM_ATTACHID")]
        private string zzjgdmAttachId;


        //[VerifyAttr(-1, "税务登记证明")]
        [TableFieldAttr("SWDJZM_ATTACHID")]
        private string swdjzmAttachId;


        [TableFieldAttr("SZHYZZ_ATTACHID")]
        private string szhyzzAttachId;


        [TableFieldAttr("gsyyzzName", false)]
        private string gsyyzzName;

        [TableFieldAttr("zzjgdmName", false)]
        private string zzjgdmName;

        [TableFieldAttr("swdjzmName", false)]
        private string swdjzmName;

        [TableFieldAttr("szhyzzName", false)]
        private string szhyzzName;


        [TableFieldAttr("THREE_CERT_ONENESS")]
        private string threeCertOneness;

        //资质业绩核实证明--附件【资质业绩核实证明函件】
        [TableFieldAttr("ZZYJHSZM_ATTACHID")]
        private string zzyjhszmAttachId;


        [TableFieldAttr("zzyjhszmName", false)]
        private string zzyjhszmName;

        [TableFieldAttr("SUPPLIER_CODE")]
        private string supplierCode;

        //项目信息
        private List<OsZbPurchaseProject> projectList;


        [TableFieldAttr("SFCJZZYJHS")]
        private string sfcjzzyjhs;


        [TableFieldAttr("DH")]
        private string dh;


        [TableFieldAttr("HSZZDW")]
        private string hszzdw;


        //资信证明出具银行
        [TableFieldAttr("ZXZMCJYH")]
        private string zxzmcjyh;


        //资信等级
        [TableFieldAttr("ZXDJ")]
        private string zxdj;

        //出具时间
        [TableFieldAttr("YEAR_SJ")]
        private string yearSj;


        //手机号码
        [TableFieldAttr("LOGIN_PHONE")]
        private string loginPhone;

        //股权信息
        [TableFieldAttr(false)]
        private List<OsZbSupplierBiaoEquityInfo> equityRelateList;

        //资信证明引用表的id
        [TableFieldAttr("zxzmRelateId", false)]
        private string zxzmRelateId;

        ///<summary>
        ///主键
        ///</summary>
        [JsonProperty("id")]
        public string Id { get => id; set => id = value; }

        ///<summary>
        ///企业名称
        ///</summary>
        [JsonProperty("entName")]
        public string EntName { get => entName; set => entName = value; }

        ///<summary>
        ///企业简介
        ///</summary>
        [JsonProperty("entIntroduce")]
        public string EntIntroduce { get => entIntroduce; set => entIntroduce = value; }

        ///<summary>
        ///成立时间
        ///</summary>
        [JsonProperty("entRegTime")]
        public string EntRegTime { get => entRegTime; set => entRegTime = value; }

        ///<summary>
        ///注册资本(万元)
        ///</summary>
        [JsonProperty("regCapital")]
        public string RegCapital { get => regCapital; set => regCapital = value; }

        ///<summary>
        ///注册地
        ///</summary>
        [JsonProperty("regPlace")]
        public string RegPlace { get => regPlace; set => regPlace = value; }

        ///<summary>
        ///厂房所在地(市)
        ///</summary>
        [JsonProperty("facBuildPlace")]
        public string FacBuildPlace { get => facBuildPlace; set => facBuildPlace = value; }

        ///<summary>
        ///法定代表人
        ///</summary>
        [JsonProperty("legalRep")]
        public string LegalRep { get => legalRep; set => legalRep = value; }

        ///<summary>
        ///企业类型
        ///</summary>
        [JsonProperty("entType")]
        public string EntType { get => entType; set => entType = value; }

        ///<summary>
        ///单位类型
        ///</summary>
        [JsonProperty("deptType")]
        public string DeptType { get => deptType; set => deptType = value; }

        ///<summary>
        ///企业性质
        ///</summary>
        [JsonProperty("entNature")]
        public string EntNature { get => entNature; set => entNature = value; }

        ///<summary>
        ///营业执照注册号
        ///</summary>
        [JsonProperty("businessLicRegNo")]
        public string BusinessLicRegNo { get => businessLicRegNo; set => businessLicRegNo = value; }

        ///<summary>
        ///营业执照有效期类型
        ///</summary>
        [JsonProperty("businessLicActiveType")]
        public string BusinessLicActiveType { get => businessLicActiveType; set => businessLicActiveType = value; }

        ///<summary>
        ///营业执照有效期
        ///</summary>
        [JsonProperty("businessLicActiveTime")]
        public string BusinessLicActiveTime { get => businessLicActiveTime; set => businessLicActiveTime = value; }

        ///<summary>
        ///营业执照年检日期
        ///</summary>
        [JsonProperty("businessLicCheckTime")]
        public string BusinessLicCheckTime { get => businessLicCheckTime; set => businessLicCheckTime = value; }

        ///<summary>
        ///工商登记号
        ///</summary>
        [JsonProperty("indusRegNo")]
        public string IndusRegNo { get => indusRegNo; set => indusRegNo = value; }

        ///<summary>
        ///组织机构代码
        ///</summary>
        [JsonProperty("orgNo")]
        public string OrgNo { get => orgNo; set => orgNo = value; }

        ///<summary>
        ///国税税务号
        ///</summary>
        [JsonProperty("nationalTaxNo")]
        public string NationalTaxNo { get => nationalTaxNo; set => nationalTaxNo = value; }

        ///<summary>
        ///邮政编码
        ///</summary>
        [JsonProperty("postCode")]
        public string PostCode { get => postCode; set => postCode = value; }

        ///<summary>
        ///通讯地址
        ///</summary>
        [JsonProperty("mailAddress")]
        public string MailAddress { get => mailAddress; set => mailAddress = value; }

        ///<summary>
        ///当前状态
        ///</summary>
        [JsonProperty("status")]
        public string Status { get => status; set => status = value; }

        ///<summary>
        ///经营范围
        ///</summary>
        [JsonProperty("businessScope")]
        public string BusinessScope { get => businessScope; set => businessScope = value; }

        ///<summary>
        ///注册时间
        ///</summary>
        [JsonProperty("regTime")]
        public string RegTime { get => regTime; set => regTime = value; }

        ///<summary>
        ///登录账号
        ///</summary>
        [JsonProperty("loginAccount")]
        public string LoginAccount { get => loginAccount; set => loginAccount = value; }

        ///<summary>
        ///登录密码
        ///</summary>
        [JsonProperty("loginPwd")]
        public string LoginPwd { get => loginPwd; set => loginPwd = value; }

        ///<summary>
        ///审核原因
        ///</summary>
        [JsonProperty("auditReasion")]
        public string AuditReasion { get => auditReasion; set => auditReasion = value; }

        ///<summary>
        ///审核通过时间
        ///</summary>
        [JsonProperty("auditTime")]
        public string AuditTime { get => auditTime; set => auditTime = value; }

        ///<summary>
        ///审核人
        ///</summary>
        [JsonProperty("auditUserId")]
        public string AuditUserId { get => auditUserId; set => auditUserId = value; }

        ///<summary>
        ///备注
        ///</summary>
        [JsonProperty("remark")]
        public string Remark { get => remark; set => remark = value; }

        ///<summary>
        ///创建人
        ///</summary>
        [JsonProperty("createUser")]
        public string CreateUser { get => createUser; set => createUser = value; }

        ///<summary>
        ///创建时间
        ///</summary>
        [JsonProperty("createTime")]
        public string CreateTime { get => createTime; set => createTime = value; }

        ///<summary>
        ///更新人
        ///</summary>
        [JsonProperty("updateUser")]
        public string UpdateUser { get => updateUser; set => updateUser = value; }

        ///<summary>
        ///更新时间
        ///</summary>
        [JsonProperty("updateTime")]
        public string UpdateTime { get => updateTime; set => updateTime = value; }

        [JsonProperty("gsyyzzAttachId")]
        public string GsyyzzAttachId { get => gsyyzzAttachId; set => gsyyzzAttachId = value; }

        [JsonProperty("zzjgdmAttachId")]
        public string ZzjgdmAttachId { get => zzjgdmAttachId; set => zzjgdmAttachId = value; }

        [JsonProperty("swdjzmAttachId")]
        public string SwdjzmAttachId { get => swdjzmAttachId; set => swdjzmAttachId = value; }

        [JsonProperty("szhyzzAttachId")]
        public string SzhyzzAttachId { get => szhyzzAttachId; set => szhyzzAttachId = value; }
        public string GsyyzzName { get => gsyyzzName; set => gsyyzzName = value; }
        public string ZzjgdmName { get => zzjgdmName; set => zzjgdmName = value; }
        public string SwdjzmName { get => swdjzmName; set => swdjzmName = value; }
        public string SzhyzzName { get => szhyzzName; set => szhyzzName = value; }

        [JsonProperty("threeCertOneness")]
        public string ThreeCertOneness { get => threeCertOneness; set => threeCertOneness = value; }

        /// <summary>
        /// 资质业绩核实证明--附件【资质业绩核实证明函件】
        /// </summary>
        [JsonProperty("zzyjhszmAttachId")]
        public string ZzyjhszmAttachId { get => zzyjhszmAttachId; set => zzyjhszmAttachId = value; }
        public string ZzyjhszmName { get => zzyjhszmName; set => zzyjhszmName = value; }
        public List<OsZbPurchaseProject> ProjectList { get => projectList; set => projectList = value; }

        /// <summary>
        /// 是否参加资质核实证明
        /// </summary>
        [JsonProperty("sfcjzzyjhs")]
        public string Sfcjzzyjhs { get => sfcjzzyjhs; set => sfcjzzyjhs = value; }

        /// <summary>
        /// 单号
        /// </summary>
        [JsonProperty("dh")]
        public string Dh { get => dh; set => dh = value; }

        /// <summary>
        /// 核实组织单位
        /// </summary>
        [JsonProperty("hszzdw")]
        public string Hszzdw { get => hszzdw; set => hszzdw = value; }

        /// <summary>
        ///  资信证明出具银行
        /// </summary>
        [JsonProperty("zxzmcjyh")]
        public string Zxzmcjyh { get => zxzmcjyh; set => zxzmcjyh = value; }

        /// <summary>
        ///  资信等级
        /// </summary>
        [JsonProperty("zxdj")]
        public string Zxdj { get => zxdj; set => zxdj = value; }

        [JsonProperty("loginPhone")]

        public string LoginPhone { get => loginPhone; set => loginPhone = value; }

        /// <summary>
        ///  出具时间
        /// </summary>
        [JsonProperty("yearSj")]
        public string YearSj { get => yearSj; set => yearSj = value; }

        [JsonProperty("supplierCode")]
        public string SupplierCode { get => supplierCode; set => supplierCode = value; }

        [JsonProperty("equityRelateList")]
        public List<OsZbSupplierBiaoEquityInfo> EquityRelateList { get => equityRelateList; set => equityRelateList = value; }
        public string ZxzmRelateId { get => zxzmRelateId; set => zxzmRelateId = value; }

        //搜索项目编号
        [JsonProperty("inputProjectNo")]
        public string InputProjectNo { set; get; }

        //搜索分标编号
        [JsonProperty("inputMarkNo")]
        public string InputMarkNo { set; get; }

        //搜索项目名称
        [JsonProperty("inputProjectName")]
        public string InputProjectName { get; set; }
    }
}
